package client;

import java.awt.Graphics;
import java.io.Serializable;

import javax.swing.ImageIcon;
import javax.swing.JDesktopPane;

@SuppressWarnings("serial")
public class Desktop extends JDesktopPane implements Serializable{
	private ImageIcon fond;
	public Desktop(){
		fond = new ImageIcon(getClass().getResource("/image/matriceV2.png"));
	}
	
	public void paintComponent(Graphics g) {
		g.drawImage(fond.getImage(), 0, 0, null);
	}
}